package day01;

public class test1 {

	public static void main(String[] args) {
		int num = 3569;
		int qianWei = num/1000;
		int baiWei = num%1000/100;
		int shiWei = num%1000%100/10;
		int geWei = num%10;
		System.out.println("千位:"+qianWei+"百位:"+baiWei+"十位:"
				+shiWei+"个位:"+geWei);
		
	}

}
